<%@ page language="java" import="java.util.*,com.ts.common.util.bean.*,com.ts.util.connDB.*,com.ts.web.service.ICommonService,com.ts.common.util.BeanFactory,java.sql.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<SCRIPT FOR=window EVENT=onload LANGUAGE="javascript">
initAd();//载入页面后，调用函数initAd()
</SCRIPT>
<script language="javascript">
<!--
function initAd() {
document.all.AdLayer.style.posTop = -200;
//设置onLoad事件激发以后，广告层相对于固定后的y方向位置
document.all.AdLayer.style.visibility = 'visible'//设置层为可见
MoveLayer('AdLayer');//调用函数MoveLayer()
}
function MoveLayer(layerName) {
var x = 20;//浮动广告层固定于浏览器的x方向位置
var y = 100;//浮动广告层固定于浏览器的y方向位置
var diff = (document.documentElement.scrollTop + y - document.all.AdLayer.style.posTop)*.90;
var y = document.documentElement.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posright = x");//移动广告层
setTimeout("MoveLayer('AdLayer');", 0);//设置20毫秒后再调用函数MoveLayer()
}
//-->
</script>
</head>
<body>

<!-- <div id=AdLayer style='position:absolute; width:100px; height:200px; z-index:20; visibility:hidden; left: 20px; top: 100px'>

<a href='common.do?method=order' target='_blank'><img src='images/float.gif' width='110' height='285' border="0" /></a>

</div>

-->
    <TABLE WIDTH=900 BORDER=0 CELLPADDING=0 CELLSPACING=0 style="margin:0px auto;">
   <tr>
        <td colspan="17" height="88px" bgcolor="#FFFFFF"><div style="float: left;"><img src="images/logo.jpg" hspace="30"  align="left" alt="上海同圣建筑装饰工程有限公司" /></div><div style="margin-left: 10px;float: left"><table border="0" cellpadding="0" cellspacing="10"><tr><c:set var="users" value="${sessionScope.users}" /><c:choose>
						<c:when test="${users eq null}">
<td height="45px"><form action="common.do?method=login" method="post" name="ff" onsubmit="return check_form(ff)">用户名：<input type="text" name="username" style="width: 80px;" /> 密码：<input type="password" name="password" style="width: 80px;" />&nbsp;<input type="submit" name="submit" value="登陆"  />&nbsp;<input type="reset" name="reset"  value="取消" /></form></td>
                        </c:when>
                        <c:otherwise>
                <td height="45px" width="350px"> <span class="fcc0302">${users.nickname }</span>&nbsp;&nbsp;欢迎您，进入<a href="common.do?method=news&id=${sessionScope.news.id }" >管理中心</a>&nbsp;&nbsp;&nbsp;<a href="common.do?method=loginOut">安全退出</a></td>
</c:otherwise>
</c:choose>
</tr><tr><td   style="text-align: right"><span class="style1">装修热线：</span><span class="style2">021-52683958</span></td></tr></table></div> </td>
   </tr>
	
 
	<TR>
		<TD WIDTH=23 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT=""></TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=106 HEIGHT=36 bgcolor="#3D3D3D" ALT="" valign="top">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="common.do?method=index" class="style9" target="_blank"><strong>同圣首页</strong></a></div>
		</div></TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=107 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="about.jsp" class="style9"><strong>公司概况</strong></a></div>
		</div>
		</TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=106 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
<%
    ICommonService ic = (ICommonService) BeanFactory
			.getBean(BeanFactory.COMMONSERVICE);
 	List<Itemmm> list = null;
    list = ic.getItemmm();
String itemmmid = "";

   for(Itemmm itemmm : list){
   
     itemmmid = itemmm.getId();
   }
  %>
		  <div align="center" style="padding-top:10PX "><a href="common.do?method=show&itemmmid=<%=itemmmid %>" class="style9"><strong>经营项目</strong></a></div>
		</div>
		</TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=107 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="common.do?method=show&itemmmid=<%=itemmmid %>" class="style9"><strong>工程案例</strong></a></div>
		</div>
		</TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=106 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="zhibao.jsp" class="style9"><strong>质量保证</strong></a></div>
		</div>
		</TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=106 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="lianxi.jsp" class="style9"><strong>联系我们</strong></a></div>
		</div>
		</TD>
<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=106 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT="">
		<div class="style3">
		  <div align="center" style="padding-top:10PX "><a href="common.do?method=zhaopin_all" class="style9"><strong>人才招聘</strong></a></div>
		</div>
		</TD>
		<TD WIDTH=2 HEIGHT=36 ALT="" valign="top" background="images/tpx.jpg"></TD>
		<TD WIDTH=199 HEIGHT=36 valign="top" bgcolor="#3D3D3D" ALT=""></TD>
	</TR>
  <tr>
        <td colspan="17" WIDTH=800 HEIGHT=100 ALT="" valign="top" background="images/logo-2.jpg"> </td>
   </tr>
</TABLE>
</body>
</html>
<!--<SCRIPT LANGUAGE="JavaScript" src=http://float2006.tq.cn/floatcard?adminid=9142110&sort=0 ></SCRIPT>-->